package com.huaao.micropolice.core.service.content;

import java.util.List;

import com.huaao.micropolice.core.common.page.Page;
import com.huaao.micropolice.core.model.content.Content;
import com.huaao.micropolice.core.model.content.Subject;

public interface ContentService {
	public List<Content> listContent(Page page);
	
	public String addContent(Content content);
	
	public void updateContent(Content content);
	
	public void deleteContent(String id);
	
	public Content get(String id);
	
	public Long getCount();

	public List<Content> listBySubjectId(String subjectId, Page page);

	public Long getCountBySubjectId(String subjectId);
}
